package com.wufeng.mapper;

import com.wufeng.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Hxh
* @description 针对表【user】的数据库操作Mapper
* @createDate 2023-12-19 21:39:01
* @Entity com.wufeng.entity.User
*/
public interface UserMapper extends BaseMapper<User> {

    int updateAvatarByUserId(@Param("user") User user);

    List<User> getUserListByConditions(@Param("user")User user,@Param("startIndex")Integer startIndex,@Param("pageSize")Integer pageSize);
}




